function activeEditCheckList() {
	var urlInputList = document.querySelectorAll("[data-type='editCheckBox']");
	var editList = document.querySelectorAll("[data-type='editList']");
	
	for (var i = 0, len = urlInputList.length; i < len; i++)(function (i) {
		urlInputList[i].parentNode.style.position = "relative";
		urlInputList[i].setAttribute("autocomplete", "off");
		urlInputList[i].onclick = function (ev) {
			ev.preventDefault();
			ev.stopPropagation();
			for (var i = 0, len = editList.length; i < len; i++) {
				editList[i].style.display = "none";
			}
			var targetId = ev.target.getAttribute("data-target");
			if (document.getElementById(targetId)) {
				document.getElementById(targetId).style.display = "block";
			}
		}
	})(i);
	
	for (var i = 0, len = editList.length; i < len; i++) (function (i) {
		editList[i].onclick = function (ev) {
			var targetLi = ev.target;
			ev.preventDefault();
			ev.stopPropagation();
			var dataUrl = ev.target.getAttribute("data-url");
			var id = ev.currentTarget.id;
			ev.currentTarget.style.display = "none";
			document.querySelector("[data-target=" + id + "]").value = dataUrl;
		};
	})(i);
	
	document.body.onclick = function (ev) {
		if (ev.target.dataset.type != "editCheckBox") {
			for (var i = 0, len = editList.length; i < len; i++) {
				editList[i].style.display = "none";
			}
		}
	}
}